package com.fastloan.core.apiauth.base.anno.encrypt;

import com.fastloan.core.apiauth.base.endecrypt.EnDecrypt;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 加密模式
 *
 * @author yanwe
 * createTime 2018-01-2018/1/3 13:26
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface EncryptMode {

    Class<? extends EnDecrypt>[] mode();

    String source() default "";

    int[] sourceEncryptIndex() default {};
}
